package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.List;

public class LikerecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public LikerecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLrnoIsNull() {
            addCriterion("lrno is null");
            return (Criteria) this;
        }

        public Criteria andLrnoIsNotNull() {
            addCriterion("lrno is not null");
            return (Criteria) this;
        }

        public Criteria andLrnoEqualTo(String value) {
            addCriterion("lrno =", value, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoNotEqualTo(String value) {
            addCriterion("lrno <>", value, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoGreaterThan(String value) {
            addCriterion("lrno >", value, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoGreaterThanOrEqualTo(String value) {
            addCriterion("lrno >=", value, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoLessThan(String value) {
            addCriterion("lrno <", value, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoLessThanOrEqualTo(String value) {
            addCriterion("lrno <=", value, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoLike(String value) {
            addCriterion("lrno like", value, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoNotLike(String value) {
            addCriterion("lrno not like", value, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoIn(List<String> values) {
            addCriterion("lrno in", values, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoNotIn(List<String> values) {
            addCriterion("lrno not in", values, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoBetween(String value1, String value2) {
            addCriterion("lrno between", value1, value2, "lrno");
            return (Criteria) this;
        }

        public Criteria andLrnoNotBetween(String value1, String value2) {
            addCriterion("lrno not between", value1, value2, "lrno");
            return (Criteria) this;
        }

        public Criteria andBnoIsNull() {
            addCriterion("bno is null");
            return (Criteria) this;
        }

        public Criteria andBnoIsNotNull() {
            addCriterion("bno is not null");
            return (Criteria) this;
        }

        public Criteria andBnoEqualTo(String value) {
            addCriterion("bno =", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotEqualTo(String value) {
            addCriterion("bno <>", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoGreaterThan(String value) {
            addCriterion("bno >", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoGreaterThanOrEqualTo(String value) {
            addCriterion("bno >=", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLessThan(String value) {
            addCriterion("bno <", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLessThanOrEqualTo(String value) {
            addCriterion("bno <=", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLike(String value) {
            addCriterion("bno like", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotLike(String value) {
            addCriterion("bno not like", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoIn(List<String> values) {
            addCriterion("bno in", values, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotIn(List<String> values) {
            addCriterion("bno not in", values, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoBetween(String value1, String value2) {
            addCriterion("bno between", value1, value2, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotBetween(String value1, String value2) {
            addCriterion("bno not between", value1, value2, "bno");
            return (Criteria) this;
        }

        public Criteria andPnoIsNull() {
            addCriterion("pno is null");
            return (Criteria) this;
        }

        public Criteria andPnoIsNotNull() {
            addCriterion("pno is not null");
            return (Criteria) this;
        }

        public Criteria andPnoEqualTo(String value) {
            addCriterion("pno =", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotEqualTo(String value) {
            addCriterion("pno <>", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoGreaterThan(String value) {
            addCriterion("pno >", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoGreaterThanOrEqualTo(String value) {
            addCriterion("pno >=", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLessThan(String value) {
            addCriterion("pno <", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLessThanOrEqualTo(String value) {
            addCriterion("pno <=", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLike(String value) {
            addCriterion("pno like", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotLike(String value) {
            addCriterion("pno not like", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoIn(List<String> values) {
            addCriterion("pno in", values, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotIn(List<String> values) {
            addCriterion("pno not in", values, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoBetween(String value1, String value2) {
            addCriterion("pno between", value1, value2, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotBetween(String value1, String value2) {
            addCriterion("pno not between", value1, value2, "pno");
            return (Criteria) this;
        }

        public Criteria andLrnumberIsNull() {
            addCriterion("lrNumber is null");
            return (Criteria) this;
        }

        public Criteria andLrnumberIsNotNull() {
            addCriterion("lrNumber is not null");
            return (Criteria) this;
        }

        public Criteria andLrnumberEqualTo(String value) {
            addCriterion("lrNumber =", value, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberNotEqualTo(String value) {
            addCriterion("lrNumber <>", value, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberGreaterThan(String value) {
            addCriterion("lrNumber >", value, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberGreaterThanOrEqualTo(String value) {
            addCriterion("lrNumber >=", value, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberLessThan(String value) {
            addCriterion("lrNumber <", value, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberLessThanOrEqualTo(String value) {
            addCriterion("lrNumber <=", value, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberLike(String value) {
            addCriterion("lrNumber like", value, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberNotLike(String value) {
            addCriterion("lrNumber not like", value, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberIn(List<String> values) {
            addCriterion("lrNumber in", values, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberNotIn(List<String> values) {
            addCriterion("lrNumber not in", values, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberBetween(String value1, String value2) {
            addCriterion("lrNumber between", value1, value2, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrnumberNotBetween(String value1, String value2) {
            addCriterion("lrNumber not between", value1, value2, "lrnumber");
            return (Criteria) this;
        }

        public Criteria andLrdateIsNull() {
            addCriterion("lrDate is null");
            return (Criteria) this;
        }

        public Criteria andLrdateIsNotNull() {
            addCriterion("lrDate is not null");
            return (Criteria) this;
        }

        public Criteria andLrdateEqualTo(String value) {
            addCriterion("lrDate =", value, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateNotEqualTo(String value) {
            addCriterion("lrDate <>", value, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateGreaterThan(String value) {
            addCriterion("lrDate >", value, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateGreaterThanOrEqualTo(String value) {
            addCriterion("lrDate >=", value, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateLessThan(String value) {
            addCriterion("lrDate <", value, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateLessThanOrEqualTo(String value) {
            addCriterion("lrDate <=", value, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateLike(String value) {
            addCriterion("lrDate like", value, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateNotLike(String value) {
            addCriterion("lrDate not like", value, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateIn(List<String> values) {
            addCriterion("lrDate in", values, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateNotIn(List<String> values) {
            addCriterion("lrDate not in", values, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateBetween(String value1, String value2) {
            addCriterion("lrDate between", value1, value2, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdateNotBetween(String value1, String value2) {
            addCriterion("lrDate not between", value1, value2, "lrdate");
            return (Criteria) this;
        }

        public Criteria andLrdescribeIsNull() {
            addCriterion("lrDescribe is null");
            return (Criteria) this;
        }

        public Criteria andLrdescribeIsNotNull() {
            addCriterion("lrDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andLrdescribeEqualTo(String value) {
            addCriterion("lrDescribe =", value, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeNotEqualTo(String value) {
            addCriterion("lrDescribe <>", value, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeGreaterThan(String value) {
            addCriterion("lrDescribe >", value, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeGreaterThanOrEqualTo(String value) {
            addCriterion("lrDescribe >=", value, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeLessThan(String value) {
            addCriterion("lrDescribe <", value, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeLessThanOrEqualTo(String value) {
            addCriterion("lrDescribe <=", value, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeLike(String value) {
            addCriterion("lrDescribe like", value, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeNotLike(String value) {
            addCriterion("lrDescribe not like", value, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeIn(List<String> values) {
            addCriterion("lrDescribe in", values, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeNotIn(List<String> values) {
            addCriterion("lrDescribe not in", values, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeBetween(String value1, String value2) {
            addCriterion("lrDescribe between", value1, value2, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrdescribeNotBetween(String value1, String value2) {
            addCriterion("lrDescribe not between", value1, value2, "lrdescribe");
            return (Criteria) this;
        }

        public Criteria andLrstateIsNull() {
            addCriterion("lrState is null");
            return (Criteria) this;
        }

        public Criteria andLrstateIsNotNull() {
            addCriterion("lrState is not null");
            return (Criteria) this;
        }

        public Criteria andLrstateEqualTo(Integer value) {
            addCriterion("lrState =", value, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateNotEqualTo(Integer value) {
            addCriterion("lrState <>", value, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateGreaterThan(Integer value) {
            addCriterion("lrState >", value, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("lrState >=", value, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateLessThan(Integer value) {
            addCriterion("lrState <", value, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateLessThanOrEqualTo(Integer value) {
            addCriterion("lrState <=", value, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateIn(List<Integer> values) {
            addCriterion("lrState in", values, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateNotIn(List<Integer> values) {
            addCriterion("lrState not in", values, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateBetween(Integer value1, Integer value2) {
            addCriterion("lrState between", value1, value2, "lrstate");
            return (Criteria) this;
        }

        public Criteria andLrstateNotBetween(Integer value1, Integer value2) {
            addCriterion("lrState not between", value1, value2, "lrstate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}